#include <stdio.h>

int square(int);
int square(int)
{
   int num;	
   num = num * num;
   return num;
}	
int main(void)
{
   int num;	
   int (*fp)(int);
   printf("intput a num");
   scanf("%d",&num);
   fp = square;
   printf("num=%d",num);
   
   return 0;
}
